package com.shn.ClientService.controller;

import javax.annotation.Resource;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import com.shn.ClientService.client.OrderServiceClient;

@RestController
public class BussinesController {
	
	@Resource
    private OrderServiceClient orderServiceClient;
	
	@GetMapping("/createOrder")
	public String createOrder() {
		return orderServiceClient.createOrder();
	}
		
}